﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using T2Calc.ViewModels;
using T2CalcLib.Repositories;

namespace T2Calc
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        protected override void OnStartup(StartupEventArgs e)
        {
            MainWindow mainWindow = new MainWindow();

            MainWindowViewModel mainViewModel = new MainWindowViewModel();
            mainViewModel.RegisterControl(mainWindow);

            mainWindow.Show();
        }
    }
}
